package com.example.design.pattern.behavior.chain;

public class InfoLogger extends AbstractLogger {

    @Override
    protected void doLog(String message) {
        System.out.println("info: " + message);
    }

    @Override
    protected int getLevel() {
        return AbstractLogger.INFO;
    }

}
